<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>用户信息查看页</title>
    <link th:include="fragment/import :: import">
</head>
<body style="padding: 20px">

<form class="layui-form" id="mainForm" th:action="@{/admin/user/{action}(action=${action})}"
      th:method="post" th:object="${user}">
    <div class="layui-form-item">
        <label class="layui-form-label label-width-auto">用户名：</label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" name="loginName" readonly th:value="*{loginName}" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label label-width-auto">姓名：</label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" name="realName" readonly th:value="*{realName}" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label label-width-auto">密码框：</label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" name="password" readonly th:value="*{password}" type="text">
        </div>
    </div>

</form>
<script>


</script>
</body>
</html>